const express = require('express');

const app = express();

app.get('/login', (req,res)=>{
      console.log('query=>',req.query)
      console.log('host=>',req.get('host'))
      console.log('path=>',req.path);
      console.log('ip=>',req.ip)
      // console.log('')
      res.end('hello express')
})

app.listen(3000,()=>{
      console.log('启动')
})
